<?php
ini_set("display_errors" , 0);
my_component_load('testing' , false);
my_component_load('paging' , false); 
my_component_load('xl_builder' , false);     
my_component_load('a_download_finger' );
$task = isset($_GET['task']) ? $_GET['task'] : '' ;
if($task == 'download'){
	
	$hosts = array("192.168.10.18", "192.168.10.15" , "192.168.10.19", "192.168.10.17","192.168.10.20"); 
	$query = "SELECT * FROM a_mesin_lokasi";
	$result = my_query($query);
	while($row = my_fetch_array($result)){
		save_data_download($row['id'] , $row['ip_lokasi'], "0");
	}
	my_direct($_SERVER['HTTP_REFERER']);
}else{
	$pagename = "Data finger 48 jam terakhir";
	load_facebox_script();
	$content = display_48_hour_later();
}
generate_my_web($content, $pagename  );